package com.librarydemo.demo.entity;

public class ReturnRecord {
    private int id;
    private int uid;
    private int bid;
    private String bname;
    private String author;
    private String publisher;
    private String returnDate;

    public ReturnRecord() {
    }

    public ReturnRecord(int id, int uid, int bid, String bname, String author, String publisher, String returnDate) {
        this.id = id;
        this.uid = uid;
        this.bid = bid;
        this.bname = bname;
        this.author = author;
        this.publisher = publisher;
        this.returnDate = returnDate;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getBid() {
        return bid;
    }

    public void setBid(int bid) {
        this.bid = bid;
    }

    public String getBname() {
        return bname;
    }

    public void setBname(String bname) {
        this.bname = bname;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public String getReturnDate() {
        return returnDate;
    }

    public void setReturnDate(String returnDate) {
        this.returnDate = returnDate;
    }

    @Override
    public String toString() {
        return "ReturnRecord{" +
                "id=" + id +
                ", uid=" + uid +
                ", bid=" + bid +
                ", bname='" + bname + '\'' +
                ", author='" + author + '\'' +
                ", publisher='" + publisher + '\'' +
                ", returnDate='" + returnDate + '\'' +
                '}';
    }
}
